package com.chinairi.mall.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chinairi.common.model.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author gsl
 * @since 2020-10-22
 */
@TableName("ORDER_SERVICE_TRANSPORT_GOODS")
public class OrderServiceTransportGoods extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("OSTG_ID")
    private String ostgId;

    /**
     * 配送服务订单编号
     */
    @TableField("OST_ID")
    private String ostId;

    /**
     * 商品编码
     */
    @TableField("OSTG_GOODS_DBID")
    private String ostgGoodsDbid;

    /**
     * 商品名称
     */
    @TableField("OSTG_GOODS_NAME")
    private String ostgGoodsName;

    /**
     * 合同编号
     */
    @TableField("OSTG_CONTRACT_ID")
    private String ostgContractId;

    /**
     * 订单编号
     */
    @TableField("OSTG_ORDER_ID")
    private String ostgOrderId;

    /**
     * 供应商名称
     */
    @TableField("OSTG_UCI_NAME")
    private String ostgUciName;

    /**
     * 商品数量
     */
    @TableField("OSTG_GOODS_NUMBER")
    private Float ostgGoodsNumber;

    /**
     * 计量单位
     */
    @TableField("OSTG_GOODS_UNIT")
    private String ostgGoodsUnit;

    /**
     * 单价
     */
    @TableField("OSTG_GOODS_PRICE")
    private BigDecimal ostgGoodsPrice;

    /**
     * 商品金额
     */
    @TableField("OSTG_GOODS_MONEY")
    private BigDecimal ostgGoodsMoney;

    /**
     * 单个商品重量
     */
    @TableField("OSTG_GOODS_SINGLE_WEIGHT")
    private Float ostgGoodsSingleWeight;

    /**
     * 商品类别
     */
    @TableField("OSTG_GOODS_CLASS")
    private String ostgGoodsClass;

    /**
     * 起运地点
     */
    @TableField("OSTG_DELIVERY_ADDRESS")
    private String ostgDeliveryAddress;

    /**
     * 到货地点
     */
    @TableField("OSTG_RECEIVE_ADDRESS")
    private String ostgReceiveAddress;

    /**
     * 运输距离（公里）
     */
    @TableField("OSTG_TRANSPORT_DISTANCE")
    private Float ostgTransportDistance;

    /**
     * 计价单位
     */
    @TableField("OSTG_VALUATION_UNIT")
    private String ostgValuationUnit;

    /**
     * 运输单价
     */
    @TableField("OSTG_TRANSPORT_PRICE")
    private BigDecimal ostgTransportPrice;

    /**
     * 预计运输天数
     */
    @TableField("OSTG_ESTIMATE_DAY")
    private String ostgEstimateDay;

    /**
     * 铁路金额
     */
    @TableField("OSTG_RAILWAY_MONEY")
    private BigDecimal ostgRailwayMoney;

    /**
     * 公路预计金额
     */
    @TableField("OSTG_ROAD_ESTIMATE_MONEY")
    private BigDecimal ostgRoadEstimateMoney;

    /**
     * 公路金额
     */
    @TableField("OSTG_ROAD_MONEY")
    private BigDecimal ostgRoadMoney;

    /**
     * 水路金额
     */
    @TableField("OSTG_WATER_WAY_MONEY")
    private BigDecimal ostgWaterWayMoney;

    /**
     * 中转费用
     */
    @TableField("OSTG_TRANSFER_MONEY")
    private BigDecimal ostgTransferMoney;

    /**
     * 规则系数/系统情况
     */
    @TableField("OSTG_REGULAR_COEFFICIENT")
    private String ostgRegularCoefficient;

    /**
     * 大于406mm系数
     */
    @TableField("OSTG_BIG_COEFFICIENT")
    private String ostgBigCoefficient;

    /**
     * 防腐系数
     */
    @TableField("OSTG_ANTISEPTIC_COEFFICIENT")
    private String ostgAntisepticCoefficient;

    /**
     * 远距离运输系数
     */
    @TableField("OSTG_LONG_DISTANCE_COEFFICIENT")
    private Float ostgLongDistanceCoefficient;

    /**
     * 预计金额
     */
    @TableField("OSTG_ESTIMATE_MONEY")
    private BigDecimal ostgEstimateMoney;

    /**
     * 实际金额
     */
    @TableField("OSTG_MONEY")
    private BigDecimal ostgMoney;

    /**
     * 创建人
     */
    @TableField("CREATE_USER")
    private String createUser;

    /**
     * 创建时间
     */
    @TableField("CREATE_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss",timezone = "GMT+8")
    private Date createTime;

    /**
     * 11位的物料编码
     */
    @TableField(exist =false)
    private String matCode;

    public String getOstgId() {
        return ostgId;
    }

    public void setOstgId(String ostgId) {
        this.ostgId = ostgId;
    }
    public String getOstId() {
        return ostId;
    }

    public void setOstId(String ostId) {
        this.ostId = ostId;
    }
    public String getOstgGoodsDbid() {
        return ostgGoodsDbid;
    }

    public void setOstgGoodsDbid(String ostgGoodsDbid) {
        this.ostgGoodsDbid = ostgGoodsDbid;
    }
    public String getOstgGoodsName() {
        return ostgGoodsName;
    }

    public void setOstgGoodsName(String ostgGoodsName) {
        this.ostgGoodsName = ostgGoodsName;
    }
    public String getOstgContractId() {
        return ostgContractId;
    }

    public void setOstgContractId(String ostgContractId) {
        this.ostgContractId = ostgContractId;
    }
    public String getOstgOrderId() {
        return ostgOrderId;
    }

    public void setOstgOrderId(String ostgOrderId) {
        this.ostgOrderId = ostgOrderId;
    }
    public String getOstgUciName() {
        return ostgUciName;
    }

    public void setOstgUciName(String ostgUciName) {
        this.ostgUciName = ostgUciName;
    }
    public Float getOstgGoodsNumber() {
        return ostgGoodsNumber;
    }

    public void setOstgGoodsNumber(Float ostgGoodsNumber) {
        this.ostgGoodsNumber = ostgGoodsNumber;
    }
    public String getOstgGoodsUnit() {
        return ostgGoodsUnit;
    }

    public void setOstgGoodsUnit(String ostgGoodsUnit) {
        this.ostgGoodsUnit = ostgGoodsUnit;
    }
    public BigDecimal getOstgGoodsPrice() {
        return ostgGoodsPrice;
    }

    public void setOstgGoodsPrice(BigDecimal ostgGoodsPrice) {
        this.ostgGoodsPrice = ostgGoodsPrice;
    }
    public BigDecimal getOstgGoodsMoney() {
        return ostgGoodsMoney;
    }

    public void setOstgGoodsMoney(BigDecimal ostgGoodsMoney) {
        this.ostgGoodsMoney = ostgGoodsMoney;
    }
    public Float getOstgGoodsSingleWeight() {
        return ostgGoodsSingleWeight;
    }

    public void setOstgGoodsSingleWeight(Float ostgGoodsSingleWeight) {
        this.ostgGoodsSingleWeight = ostgGoodsSingleWeight;
    }
    public String getOstgGoodsClass() {
        return ostgGoodsClass;
    }

    public void setOstgGoodsClass(String ostgGoodsClass) {
        this.ostgGoodsClass = ostgGoodsClass;
    }
    public String getOstgDeliveryAddress() {
        return ostgDeliveryAddress;
    }

    public void setOstgDeliveryAddress(String ostgDeliveryAddress) {
        this.ostgDeliveryAddress = ostgDeliveryAddress;
    }
    public String getOstgReceiveAddress() {
        return ostgReceiveAddress;
    }

    public void setOstgReceiveAddress(String ostgReceiveAddress) {
        this.ostgReceiveAddress = ostgReceiveAddress;
    }
    public Float getOstgTransportDistance() {
        return ostgTransportDistance;
    }

    public void setOstgTransportDistance(Float ostgTransportDistance) {
        this.ostgTransportDistance = ostgTransportDistance;
    }
    public String getOstgValuationUnit() {
        return ostgValuationUnit;
    }

    public void setOstgValuationUnit(String ostgValuationUnit) {
        this.ostgValuationUnit = ostgValuationUnit;
    }
    public BigDecimal getOstgTransportPrice() {
        return ostgTransportPrice;
    }

    public void setOstgTransportPrice(BigDecimal ostgTransportPrice) {
        this.ostgTransportPrice = ostgTransportPrice;
    }
    public String getOstgEstimateDay() {
        return ostgEstimateDay;
    }

    public void setOstgEstimateDay(String ostgEstimateDay) {
        this.ostgEstimateDay = ostgEstimateDay;
    }
    public BigDecimal getOstgRailwayMoney() {
        return ostgRailwayMoney;
    }

    public void setOstgRailwayMoney(BigDecimal ostgRailwayMoney) {
        this.ostgRailwayMoney = ostgRailwayMoney;
    }
    public BigDecimal getOstgRoadEstimateMoney() {
        return ostgRoadEstimateMoney;
    }

    public void setOstgRoadEstimateMoney(BigDecimal ostgRoadEstimateMoney) {
        this.ostgRoadEstimateMoney = ostgRoadEstimateMoney;
    }
    public BigDecimal getOstgRoadMoney() {
        return ostgRoadMoney;
    }

    public void setOstgRoadMoney(BigDecimal ostgRoadMoney) {
        this.ostgRoadMoney = ostgRoadMoney;
    }
    public BigDecimal getOstgWaterWayMoney() {
        return ostgWaterWayMoney;
    }

    public void setOstgWaterWayMoney(BigDecimal ostgWaterWayMoney) {
        this.ostgWaterWayMoney = ostgWaterWayMoney;
    }
    public BigDecimal getOstgTransferMoney() {
        return ostgTransferMoney;
    }

    public void setOstgTransferMoney(BigDecimal ostgTransferMoney) {
        this.ostgTransferMoney = ostgTransferMoney;
    }
    public String getOstgRegularCoefficient() {
        return ostgRegularCoefficient;
    }

    public void setOstgRegularCoefficient(String ostgRegularCoefficient) {
        this.ostgRegularCoefficient = ostgRegularCoefficient;
    }
    public String getOstgBigCoefficient() {
        return ostgBigCoefficient;
    }

    public void setOstgBigCoefficient(String ostgBigCoefficient) {
        this.ostgBigCoefficient = ostgBigCoefficient;
    }
    public String getOstgAntisepticCoefficient() {
        return ostgAntisepticCoefficient;
    }

    public void setOstgAntisepticCoefficient(String ostgAntisepticCoefficient) {
        this.ostgAntisepticCoefficient = ostgAntisepticCoefficient;
    }
    public Float getOstgLongDistanceCoefficient() {
        return ostgLongDistanceCoefficient;
    }

    public void setOstgLongDistanceCoefficient(Float ostgLongDistanceCoefficient) {
        this.ostgLongDistanceCoefficient = ostgLongDistanceCoefficient;
    }
    public BigDecimal getOstgEstimateMoney() {
        return ostgEstimateMoney;
    }

    public void setOstgEstimateMoney(BigDecimal ostgEstimateMoney) {
        this.ostgEstimateMoney = ostgEstimateMoney;
    }
    public BigDecimal getOstgMoney() {
        return ostgMoney;
    }

    public void setOstgMoney(BigDecimal ostgMoney) {
        this.ostgMoney = ostgMoney;
    }
    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getMatCode() {
        return matCode;
    }

    public void setMatCode(String matCode) {
        this.matCode = matCode;
    }

    @Override
    public String toString() {
        return "OrderServiceTransportGoods{" +
            "ostgId=" + ostgId +
            ", ostId=" + ostId +
            ", ostgGoodsDbid=" + ostgGoodsDbid +
            ", ostgGoodsName=" + ostgGoodsName +
            ", ostgContractId=" + ostgContractId +
            ", ostgOrderId=" + ostgOrderId +
            ", ostgUciName=" + ostgUciName +
            ", ostgGoodsNumber=" + ostgGoodsNumber +
            ", ostgGoodsUnit=" + ostgGoodsUnit +
            ", ostgGoodsPrice=" + ostgGoodsPrice +
            ", ostgGoodsMoney=" + ostgGoodsMoney +
            ", ostgGoodsSingleWeight=" + ostgGoodsSingleWeight +
            ", ostgGoodsClass=" + ostgGoodsClass +
            ", ostgDeliveryAddress=" + ostgDeliveryAddress +
            ", ostgReceiveAddress=" + ostgReceiveAddress +
            ", ostgTransportDistance=" + ostgTransportDistance +
            ", ostgValuationUnit=" + ostgValuationUnit +
            ", ostgTransportPrice=" + ostgTransportPrice +
            ", ostgEstimateDay=" + ostgEstimateDay +
            ", ostgRailwayMoney=" + ostgRailwayMoney +
            ", ostgRoadEstimateMoney=" + ostgRoadEstimateMoney +
            ", ostgRoadMoney=" + ostgRoadMoney +
            ", ostgWaterWayMoney=" + ostgWaterWayMoney +
            ", ostgTransferMoney=" + ostgTransferMoney +
            ", ostgRegularCoefficient=" + ostgRegularCoefficient +
            ", ostgBigCoefficient=" + ostgBigCoefficient +
            ", ostgAntisepticCoefficient=" + ostgAntisepticCoefficient +
            ", ostgLongDistanceCoefficient=" + ostgLongDistanceCoefficient +
            ", ostgEstimateMoney=" + ostgEstimateMoney +
            ", ostgMoney=" + ostgMoney +
            ", createUser=" + createUser +
            ", createTime=" + createTime +
        "}";
    }
}
